package sk.naive.talker;

/**
 * AfkStatus.
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.4 $ $Date: 2005/01/10 22:11:24 $
 */
public class AfkStatus {
	private long afkStart = System.currentTimeMillis();
	private String reason;

	public AfkStatus(String reason) {
		this.reason = reason;
	}

	public long getAfkStart() {
		return afkStart;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public long getTime() {
		return System.currentTimeMillis() - afkStart;
	}
}
